PreviousNextTracker indexSee it online !

(306/308) 1907 - Look and feel plugin won't restore theme after JEdit restart

Hello guys!

Donno is it the right place to put bug on the particular plugin, but I have an issue with Look And Feel plugin.

It won't restore the Tiny l&f with Nighty (or whatever) theme after JEdit is restarted. Though the settings are always restored correctly:
* Global options -> Swing look & feel: "Use Look And Feel plugin"
* Plugin options -> Look And Feel -> Look and feel: "Tiny", Themes: "Nighty"

The "debug=1" log is as follows:
~~~
1:23:32 PM [main] [debug] jEdit: initPLAF non-edt old=javax.swing.plaf.metal.MetalLookAndFeel requested=de.muntjak.tinylookandfeel.TinyLookAndFeel new=javax.swing.plaf.metal.MetalLookAndFeel
1:23:32 PM [main] [warning] jEdit: initPLAF failed to set requested l&f de.muntjak.tinylookandfeel.TinyLookAndFeel
~~~

Submitted vmaximov - 2019-04-21 10:30:57.226000 Assigned daleanson
Priority 5 Labels
Status open Group normal bug
Resolution None

Comments

2019-04-21 15:07:32.831000
daleanson

Fixed in revision 24901.

Just a note: the warning about failing to set the look and feel happens every time when you're using the Look and Feel plugin. jEdit calls initPLAF before the plugin is loaded, so the look and feel from the plugin is not available at that time. Moments later, the plugin will be loaded and the look and feel will be installed.

2019-04-23 18:39:54.648000
daleanson

Ticket moved from /p/jedit/bugs/4080/